<template>
	<view class="icons">
		<view class="icons-item" v-for="(item,index) in dataList" :key="index">
			<image :src="item.imgUrl" class='icons-img'></image>
			<text class='f-color'>{{item.name}}</text>	
		</view>	


	</view>
</template>

<script>
	export default{
		props:{
			dataList:Array
		}
	}
</script>

<style scoped>
	 
.icons{
	display:flex;
flex-wrap: wrap;
}
.icons-item{
	width: 25%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top:20rpx ;
}
.f-color{
	color:#3f9110
}
.icons-img{
	width: 110rpx;
	height: 110rpx;
}
</style>